# Classe para criar __init__, Gets e Sets

def CC(lista):
    b = ''
    for x in lista:
        b = b+', '+x
        

    print '    def __init__(self%s):' %b
    for x in lista:
        print '        self.__%s = %s' %(x,x)

    print ''
    print ''
    print '    #methods --'
    print ''
    print ''
    
    for x in lista:
        y = x[0].capitalize()+x[1:]
        print '    def Get%s(self):' %y
        print '        return self.__%s' %x
        print '    def Set%s(self, %s):' %(y,x)
        print '        self.__%s = %s' %(x,x)
        print ''
        print ''
    
